#ifndef __KPF_HTTPSESSION_H__
#define __KPF_HTTPSESSION_H__

#include "KPF_Session.h"

#include <string>

class KPF_HttpSession : public KPF_Session
{
public:
	KPF_HttpSession( const int8_t *pIP, const int16u_t iPort );
	
	virtual ~KPF_HttpSession( void );
	
	virtual int32_t handle_input( const KPF_Socket *pSocket, const int8u_t *pData, const int32_t iDataLen );

	virtual int32_t handle_output( const KPF_Socket *pSocket, const int8u_t *pData, const int32_t iDataLen );
	
	virtual int32_t handle_event( const KPF_Event &eEvent );
	
protected:

private:
	std::string m_IP;
	int16u_t m_iPort;
};

#endif
